SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '878bb897b2178a0b17aecfe2c579877c7c75a9fcec67205bbaf93a18f6afa384' 
  AND token = '77cBxqXUENeub7oef75eMeEVkPNpSIDCYeT9Ot9bFwo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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