SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51e279282bfee5f99a92c8ae51121cab9ea8ce332445d850a7ac2a6e88e78ed3' 
  AND token = 'BcSCgY8dzdYWmUOiL//hXP1BoYNCcQYB0ch6C78zqc8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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