SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5237acc4ba266124e98e8bb0a5d6f252c4e83c67d64a398d709d9eea3cfaaf0d' 
  AND token = 'QI5ugMUfKHaB2ysKz1CBpfxUURR5RnvSOWfs3N/ms8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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