SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf5719f3b27d551462efd97b9b247e5ed1e615288e203bd7332ba4a1741b5e0f' 
  AND token = '2O0dfcRzJOvsDfkZfLq6Wh7sKFS90k9EHlSXa1uzfZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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