SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a361c437bf4640e9f46f184b162cd517b8e89b98ad054f25717f130c01b834ee' 
  AND token = 'XmjcuUvJtAxswA8XnB0cTwPraDVFjE1Flj9lcQbpkzc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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