SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12c35f8ef27abe46c5438bd0b8687072490cc53dca71d80b6b64a9d1632e513f' 
  AND token = 'N5qY/4KZI05zC0HilKbv1JDTF20QfCW78m9nV4isIqQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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