SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2d71dfd9f51ec07d5c7ab98f7cec34f1757fbff2717b8d27f57c93f0a9885db' 
  AND token = 'tYZ/CuL5p3wChbsp87ovchA0wxDKV8NPmNk8qwZBu/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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