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

Query time 0.00038

JSON explain

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