SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7802f794b1b0a4c0fbeafab3b4d061f1b5cfc80adbe8564e6ce9d154ccd7d6b3' 
  AND token = 'J8cY1mMPBZN3xt1hAa8MLnO+khhtZJkm7xqy2fEu1wY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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