SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9ed5b83a3cebf2413ae16e59e811f403c25638ec75bad66d82b53b85bf119da' 
  AND token = 'yOJSi83kesyhvmJF3ypPgj7qBJXFIr6PCoTFRkYhM/A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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