SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0de20355ad5b3738bc202dd33797777d5341a3909f23f924ac2e2cf75c78994f' 
  AND token = 'IFfvU5cUL9D+keSe1ltN1knN7lzcpNvpWu8+90k+ljE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}