SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e740807d77e0006c0e181ed7220054626f45aa8467ecf05e978e96bf2ff4063e' 
  AND token = 'xPc1cx00FJNfAC+Wlg6gNpQyz7mgNOo7Y/8PgvA7HW8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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