SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a40aa046bf5ba5ba7d1a1c8ea925070ced411d4891cf75ce11934b81ad1de6e7' 
  AND token = 'xNw5hZ/fxN37iNtnNTFeJDByWDmktsa/k2bMxx0wJNE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00073

JSON explain

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