SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecd0d32aaa3085dc2d5a80002cf1578ebd329a82d331202a91c88ab018244e1c' 
  AND token = 'SrY5ZljjfPRbr+oTFSFTOFAWx1m0H1WVrAAxVzjJFec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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