SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2bd70fa1f9a84ec058257f0cc86eb6848168860fe8e7176d8e43fc4a863c747d' 
  AND token = 'f6YPyRgnQendgQgsid/GZx11WCQdz4RcCBbsvQ+IUts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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