SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '096ef7d6ac53b4cdacf9c2d6df87e9023799d6e3dc743f815cffa110c1718343' 
  AND token = 'cSGSOgQKK3FuBxONzJmVeOxImbgE1S3Y+8L8yZBy4Wo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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