SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd8b3f59370be1faf61fefeb0f02059676c75d99b6c494163a7d8f4e5d0b545f' 
  AND token = 'N9R7o+vMTMRqDgfdB8O2Be5DKyvZ8INp/oooyXTvzto=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}