SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9fa213f5769f3309f9377760d9a903de18ddb9bd5474d62803f889829e99314' 
  AND token = 'ppLIEdEXo1etUpqD9Bn6e3UNGxMp1TYeW7pfhQ1I76o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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