SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af0f86ab982e0134241ff9b5c08bae8567b1d7629f29a4be109f1ddd714b611d' 
  AND token = 'w68t6jOSZanzuB5RBSvfrO9/TQvuN0r+GBDfuKX+GHA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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