SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50f112ca4c3f8902a3cf6d5685e826c486505c0bdecd07f88563563b9c5f6a5d' 
  AND token = 'wLD5A2StGwioIOafPcfSU1md/kegnPdMZzARhQebsbU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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