SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '063f2171b3ee16b0443fb269879eb4eedd3018db4dd7235061ee2f5af9046ec1' 
  AND token = 'K5DJ0qQV7y6xNVIheoH8rRTx8yR//OliQ9uAy/IeIpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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