SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2de8d256beeea5a98fad98e1ae65aefe23c380b02a90a91cd5033e267042008a' 
  AND token = 'scEElnn3PECLYGFSEnIt92pgwWnnh4Zpomeboh8lb1Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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