SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1317159ad69a2f342074022cde7095dcde0bcd7ce28b575e3b10be6c6bd8fa0' 
  AND token = 'Mqny98dCoch54/CkpDlnfnD1rsR6R9c8Qmd4RqVjULg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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