SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cac5fafedf408c36adfbf52d6ab7cb5e6cfdbc2a5df8a8993e90ef043de21d64' 
  AND token = 'V65/IzslTsjEiRRXswfSbqaYd5EgLiasu2Y/jf8H7i8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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