SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '336ba3cf7aca107e836e0e7734e9f6658432380971cb7ac234a1cd07ac9483fe' 
  AND token = 'xkmATAa6X0FN/zQfsKx5FZ83Jjq2qFEXyiq3483morY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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